import 'package:flutter/cupertino.dart';

import '../constants.dart';

class IconContent extends StatelessWidget {
  const IconContent({required this.icon, required this.label});

  final IconData? icon;
  final String label;

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        Icon(icon, size: 80),
        SizedBox(height: 15),
        Text(label, style: kLabelTextStyle),
      ],
      mainAxisAlignment: MainAxisAlignment.center,
    );
  }
}
